#include "Container.h"

void Container::add(Widget *widget){
	widgets.push_back(widget);
}

Container::Container(int posX, int posY, Widget *parent):Widget(posX, posY, parent){}

Container::~Container() {
	for(it_widget = widgets.begin(); it_widget != widgets.end(); ++it_widget){
		delete *it_widget;
	}
}

